package com.hh.entity;

import java.util.List;

public class Users {
	
	private int id;
	private String username;
	private String password;
	//存用户有多少个砖石
	List<Group> listgGroups;
	
	
	public List<Group> getListgGroups() {
		return listgGroups;
	}

	public void setListgGroups(List<Group> listgGroups) {
		this.listgGroups = listgGroups;
	}


	//账户实体  要加get ,set
	Account account;
	
	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public Users() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Users(int id, String username, String password) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	@Override
	public String toString() {
		return "Users [id=" + id + ", username=" + username + ", password=" + password + "]";
	}

	
}
